#include<bits/stdc++.h>
using namespace std;

int main(int argc, char const *argv[])
{
    int n;
    while (cin>>n)
    {
        /* code */
        cout<<-1<<endl;
    }
    
    return 0;
}
